package store.model;

/**
 * 会员等级
 */
public class Level {

    /**
     * 会员等级
     */
    private String name;

    /**
     * 积分
     */
    private int base;


    /**
     * 折扣
     */
    private double discount;

    public Level(String name, int base, double discount) {
        this.name = name;
        this.base = base;
        this.discount = discount;
    }

    // getter / setter


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getBase() {
        return base;
    }

    public void setBase(int base) {
        this.base = base;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }
}
